package com.xiaoshangkou.smalltv2.thread;

import android.widget.Toast;

import com.xiaoshangkou.smalltv2.commons.SendmailUtil;
import com.xiaoshangkou.smalltv2.commons.publicList;

import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetSocketAddress;

public class EmailThread implements Runnable{
    private String text;

    public EmailThread(String text) {
        this.text = text;
    }

    @Override
    public void run() {
        try {
            new SendmailUtil("1430235457@qq.com").sendTextEmail(text);

        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
